package com.heyiming.resourceserver;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ResourceController {

    @RequestMapping(path = "/customerinfo")
    public Customer getInfo() {
        return Customer.builder().name("毅明").age(25).build();
    }
}
